<center>
  <div class="form_container" id="modifyData">
    <div class="top_round">
      <div class="fl_lt"><%= image_tag "top-lt.png" %></div>
      <div class="fl_lt top_bg"> </div>
      <div class="ie_fl_lt"><%= image_tag "top-rt.png" %></div>
    </div>
    <div class="table_container">
      <%#= raw get_jquery_validation(".edit_social_network", "SocialNetwork", "social_network") %>
      <% required = get_jquery_rules("SocialNetwork").keys %>
      <%= form_for(@social_network, :url => update_user_path(:id => @social_network.EmployeeNumber), :html => {:method => :put}) do |f| %>
        <div class="mailbox_size bg_gradient">
          <%= error_messages_for @social_network %>
          <div class="formFieldContainer formFieldContainerName">
            <div class="formfieldWrapper">
              <div class="formFieldLabel formFieldLabelName">
                <label for="social_network_WikiSpaceURL">Name:</label>
              </div>
              <div class="formFieldInput formFieldInputName">
                <span style="float: left; text-align: left;" class="txt_field"><%= @name %></span>
              </div>
            </div>
          </div>
          <%= render :partial => "partials/field_input", :locals => {:field => "SkypeName", :entity => "social_network", :form => f, :required => required.include?(:SkypeName)} %>
          <%= render :partial => "partials/field_input", :locals => {:field => "PhoneCell", :entity => "social_network", :form => f, :required => required.include?(:PhoneCell)} %>
          <%= render :partial => "partials/field_input", :locals => {:field => "PhoneWork", :entity => "social_network", :form => f, :required => required.include?(:PhoneWork)} %>
          <%= render :partial => "partials/field_input", :locals => {:field => "CubeLocation", :entity => "social_network", :form => f, :required => required.include?(:CubeLocation)} %>
          <%= render :partial => "partials/field_input", :locals => {:field => "WikiSpaceURL", :entity => "social_network", :form => f, :required => required.include?(:WikiSpaceURL)} %>
          <div class="formSubmit">
            <%= image_submit_tag "update.jpg", :class => "modify_update_pos", :id => "update" %>
          </div>
        </div>
      <% end %>
    </div>
    <div class="bottom_round">
      <div class="fl_lt"><%= image_tag "bottom-lt.png" %></div>
      <div class="fl_lt bottom_bg"> </div>
      <div class="ie_fl_lt"><%= image_tag "bottom-rt.png" %></div>
    </div>
  </div>
</center>


